﻿using System;

namespace 状态者模式
{
    class Program
    {
        static void Main(string[] args)
        {
            var account = new Account("李阳");

            account.Deposit(2000.00);
            account.Deposit(800.00);

            account.PayInterest();

            account.Withdraw(2600.00);
            account.Withdraw(800.00);
        }
    }
}
